package com.imooc.disruptor;

import com.imooc.disruptor.client.NettyClient;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * @author yqc 2018/10/16
 */
@SpringBootApplication
public class NettyClientApplication {

    public static void main(String[] args) {
        SpringApplication.run(NettyClientApplication.class, args);
        //建立链接并发送消息
        new NettyClient().sendData();
    }
}
